package com.biz;

import com.entity.Shopcar;

import java.util.List;
import java.util.Map;

public interface IShopcarBiz {
    public List<Shopcar> getAll(Map map);

    public Integer delShopcar(Integer sid);

    public  Integer  addShopcar(Shopcar record);

    public Shopcar getById(Integer sid);

    public void  modShopcar(Shopcar record);

    public List<Map> getShopcarByUid(Integer uid);
    public List<Shopcar> getByUidAndBid(Integer uid,Integer bookid);

    //根据一组购物车Id获取一组购物车信息
    public List<Map> getListByIds(Integer[] ids);
}
